package com.bdqn.mapper;

import com.bdqn.entity.Employee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 员工信息 Mapper 接口
 * </p>
 *
 * @author hunter
 * @since 2022-06-11
 */
@Repository
public interface EmployeeMapper extends BaseMapper<Employee> {
//
//     //通过用户名和密码进行登录
//    Employee login(@Param("username") String username, @Param("password") String password);

    Employee checkUsername(String username);

    Employee checkName(String name);

    List<Employee> selectList(String name);
}
